delta: return valid enum member
authorJonathan Lebon <jlebon@redhat.com>
Thu, 27 Oct 2016 21:12:05 +0000 (17:12 -0400)
committerAtomic Bot <atomic-devel@projectatomic.io>
Thu, 27 Oct 2016 22:16:32 +0000 (22:16 +0000)
commit033326055974c6537c90cd583af1b07248951045
tree07816405421ddcbadf1e15e3734089b9c1f601e0
parent7f2960db431496a73bd8e4b2c653a18f37e15151
delta: return valid enum member

If we can't figure out what endianness a delta is, we should just throw
ENDIAN_INVALID.

Resolves: #550

Closes: #553
Approved by: cgwalters
src/libostree/ostree-repo-static-delta-core.c